home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Leser 19 / Amiga Plus Leser CD 19.iso / Tools / MorphOS / cvs-1.11.2 / source / amiga / include / pwd.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-11-18  |  1.6 KB  |  50 lines

  1. #ifndef _WRAPPER_PWD_H
  2. #define _WRAPPER_PWD_H 1
  3.  
  4. /*
  5.  * $Id: pwd.h 1.2 2000/05/22 19:09:18 olsen Exp olsen $
  6.  *
  7.  * :ts=4
  8.  *
  9.  * AmigaOS wrapper routines for GNU CVS, using the AmiTCP V3 API
  10.  * and the SAS/C V6.58 compiler.
  11.  *
  12.  * Written by Olaf `Olsen' Barthel <olsen@sourcery.han.de>
  13.  *
  14.  * This program is free software; you can redistribute it and/or modify
  15.  * it under the terms of the GNU General Public License as published by
  16.  * the Free Software Foundation; either version 2 of the License, or
  17.  * (at your option) any later version.
  18.  * 
  19.  * This program is distributed in the hope that it will be useful,
  20.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  21.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  22.  * GNU General Public License for more details.
  23.  * 
  24.  * You should have received a copy of the GNU General Public License
  25.  * along with this program; if not, write to the Free Software
  26.  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  27.  */
  28.  
  29. /****************************************************************************/
  30.  
  31. typedef long             gid_t;
  32. typedef long             uid_t;
  33. typedef unsigned short   mode_t;
  34. typedef unsigned long    pid_t;
  35.  
  36. struct passwd
  37. {
  38.     char *    pw_name;    /* Username */
  39.     char *    pw_passwd;    /* Encrypted password */
  40.     uid_t    pw_uid;        /* User ID */
  41.     gid_t    pw_gid;        /* Group ID */
  42.     char *    pw_gecos;    /* Real name etc */
  43.     char *    pw_dir;        /* Home directory */
  44.     char *    pw_shell;    /* Shell */
  45. };
  46.  
  47. /****************************************************************************/
  48.  
  49. #endif /* _WRAPPER_PWD_H */
  50.